package id.net.iconpln.bb.client.service;

import id.net.iconpln.bb.client.model.BbEntryJadwalBean;
import id.net.iconpln.bb.client.model.BbEntryPasokanBean;
import id.net.iconpln.bb.client.model.BbEntryTransportirBean;
import id.net.iconpln.bb.client.model.BbMasterPemasokBean;
import id.net.iconpln.bb.client.model.BbMstPembangkitBean;
import id.net.iconpln.bb.client.model.BbMstSurveyorBean;
import id.net.iconpln.bb.client.model.BeanMasterModul;
import id.net.iconpln.bb.client.model.BeanModelDetailModul;
import id.net.iconpln.bb.client.model.BeanModelMasterBb;
import id.net.iconpln.bb.client.model.BeanModelPengendalianBb;
import id.net.iconpln.bb.client.model.BeanModelPerencanaanBb;
import id.net.iconpln.bb.client.model.Customer;
import id.net.iconpln.bb.client.model.PageBbRakorPKSBean;
import id.net.iconpln.bb.client.model.PbBean;
import id.net.iconpln.bb.client.model.UserBean;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface BatubaraServiceAsync {
	void GetPasangBaru(String unitup, String trx, AsyncCallback<List<PbBean>> callback);
	void GetPbDetail(String unitup, String trx, Date tglawal, Date tglakhir, AsyncCallback<String> callback);
	void getCustomers(AsyncCallback<List<Customer>> callback);
	void ipBrowser(AsyncCallback<List<UserBean>> asyncCallback);
	void setDashThnBln(String tahunbln, AsyncCallback<String> callback);
	void getMasterModul(AsyncCallback<List<BeanMasterModul>> callback);
	void getListMasterBb(String codeMaster,AsyncCallback<List<BeanModelMasterBb>> callback);
	void logout(AsyncCallback<String> callback);
	void getListPerencanaanBb(String id_pltu, AsyncCallback<List<BeanModelPerencanaanBb>> callback);
//	void getListComboPerencanaanBb(AsyncCallback<List<Map>> callback);
	void getkitall(AsyncCallback<List<BbMstPembangkitBean>> callback);
	void getpemasokall(AsyncCallback<List<BbMasterPemasokBean>> callback);
	void getjadwalall(AsyncCallback<List<BbEntryJadwalBean>> callback);
	void getrakorall(AsyncCallback<List<PageBbRakorPKSBean>> callback);
	void getsurveyorall(AsyncCallback<List<BbMstSurveyorBean>> callback);
	void gettransall(AsyncCallback<List<BbEntryTransportirBean>> callback);
	void getpasokanall(AsyncCallback<List<BbEntryPasokanBean>> callback);
	void insertMasterBB(BeanModelMasterBb beanModelMasterbb,String codeMaster,String crud, AsyncCallback<List<BeanModelMasterBb>> callback);
	void getListPengendalianBb(String kode, Map map, AsyncCallback<List<Map>> callback);
	void insertBbPengendalian(String kode, Map map, AsyncCallback<List<Map>> callback);
	void getListpltu_rakor(String kode, Map map, AsyncCallback<List<Map>> callback);
	void getListpemasok_rakor(String kode, Map map, AsyncCallback<List<Map>> callback);
	void setRelationRakor(String kode, Map map, AsyncCallback<List<Map>> callback);
	
	
}	
